package com.site.wisdom_construction.entity.safetyModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-13 
 */
@ApiModel (value ="风险源信息",description = "SafetyRiskSource")
public class SafetyRiskSource {
	/**
	 * 风险源表id
	 */
   	@ApiModelProperty(value = "风险源表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 工序
	 */
   	@ApiModelProperty(value = "工序", name = "riskSourceProcess")
	private String riskSourceProcess;

	/**
	 * 等级
	 */
   	@ApiModelProperty(value = "等级", name = "riskSourceGarde")
	private String riskSourceGarde;

	/**
	 * 伤害类型
	 */
   	@ApiModelProperty(value = "伤害类型", name = "riskSourceTypes")
	private String riskSourceTypes;

	/**
	 * 危险源
	 */
   	@ApiModelProperty(value = "危险源", name = "riskSourceHazard")
	private String riskSourceHazard;

	/**
	 * 控制措施
	 */
   	@ApiModelProperty(value = "控制措施", name = "riskSourceMeasures")
	private String riskSourceMeasures;

	public SafetyRiskSource(){ super(); }

	public SafetyRiskSource(Integer id, Integer projectId, String riskSourceProcess, String riskSourceGarde, String riskSourceTypes, String riskSourceHazard, String riskSourceMeasures) {
		this.id = id;
		this.projectId = projectId;
		this.riskSourceProcess = riskSourceProcess;
		this.riskSourceGarde = riskSourceGarde;
		this.riskSourceTypes = riskSourceTypes;
		this.riskSourceHazard = riskSourceHazard;
		this.riskSourceMeasures = riskSourceMeasures;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getRiskSourceProcess() {
		return this.riskSourceProcess;
	}

	public void setRiskSourceProcess(String riskSourceProcess) {
		this.riskSourceProcess = riskSourceProcess;
	}

	public String getRiskSourceGarde() {
		return this.riskSourceGarde;
	}

	public void setRiskSourceGarde(String riskSourceGarde) {
		this.riskSourceGarde = riskSourceGarde;
	}

	public String getRiskSourceTypes() {
		return this.riskSourceTypes;
	}

	public void setRiskSourceTypes(String riskSourceTypes) {
		this.riskSourceTypes = riskSourceTypes;
	}

	public String getRiskSourceHazard() {
		return this.riskSourceHazard;
	}

	public void setRiskSourceHazard(String riskSourceHazard) {
		this.riskSourceHazard = riskSourceHazard;
	}

	public String getRiskSourceMeasures() {
		return this.riskSourceMeasures;
	}

	public void setRiskSourceMeasures(String riskSourceMeasures) {
		this.riskSourceMeasures = riskSourceMeasures;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", riskSourceProcess='" + riskSourceProcess + '\'' +
				", riskSourceGarde='" + riskSourceGarde + '\'' +
				", riskSourceTypes='" + riskSourceTypes + '\'' +
				", riskSourceHazard='" + riskSourceHazard + '\'' +
				", riskSourceMeasures='" + riskSourceMeasures + '\'' +
				'}';
	}
}
